﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using System.Data.SqlClient;
//using System.ServiceModel;
//using System.ServiceModel.Web;
using System.Runtime.Serialization;

namespace Asset_Service_Layer.Model
{
    [DataContract]
    public class Asset
    {
        [DataMember]
        private string _metadata;
        [DataMember]
        private string _name;
        [DataMember]
        private string _modelNumber;
        [DataMember]
        private string _manufacturer;
        [DataMember]
        private string _make;
        [DataMember]
        private string _serialNumber;
        [DataMember]
        private string _year;
        [DataMember]
        private string _comments;
        [DataMember]
        private int _ownerID;

        //Dunno if done with members yet

        public string MetaData
        {
            get
            {
                return _metadata;
            }
            set
            {
                MetaData = value;
            }
        }
        public string Name
        {
            get
            {
                return _name;
            }
            set
            {
                Name = value;
            }
        }
        public string ModelNumber
        {
            get
            {
                return _modelNumber;
            }
            set
            {
                ModelNumber = value;
            }
        }
        public string Manufacturer
        {
            get
            {
                return _manufacturer;
            }
            set
            {
                Manufacturer = value;
            }
        }
        public string Make
        {
            get
            {
                return _make;
            }
            set
            {
                Make = value;
            }
        }
        public string SerialNumber
        {
            get
            {
                return _serialNumber;
            }
            set
            {
                SerialNumber = value;
            }
        }
        public string Year
        {
            get
            {
                return _year;
            }
            set
            {
                Year = value;
            }
        }
        public string Comments
        {
            get
            {
                return _comments;
            }
            set
            {
                Comments = value;
            }
        }
        public int OwnerID
        {
            get
            {
                return _ownerID;
            }
            set
            {
                OwnerID = value;
            }
        }
    }
}